
#import datetime
#
# if __name__ == '__main__':
#     inyear = int(input('请输入您出生的年份:'))
#     nowyear = datetime.datetime.now().year
#     age = nowyear-inyear
#     print(f'您的年龄是：{age} 岁')
#     if age<18:
#         print("您现在是未成年人")
#     if age>=18 and age<66:
#         print('您现在是青年人')
#     if age>=66 and age<80:
#         print('您现在是中年人')

# if __name__ == "__main__":
#     degree = int(input("请输入每一百毫升血液的酒精含量："))
#     if degree<20:
#         print("您还不构成饮酒驾驶行为，可以开车，但要注意安全")
#     elif degree<80:
#         print("您已经达到酒后驾驶，标准，请不要开车")
#     else :
#         print('您已经达到醉酒驾驶标准，千万不要开车')

# if __name__ == "__main__":
#     i = 1
#     while i<7:
#         password = int(input('请输入密码：'))
#         if password == 6 :
#             print('密码输入正确')
#         else :
#             print(f'密码连续输入错误 {i}次，您还有{6-i}次机会')
#         i+=1
#     print('你的卡将被锁死')